package com.barry.pattern.observation;

/**
 * @author Gong
 *
 */
public class Boy extends Observer {
	public Boy(String key) {
		this.setKey(key);
		System.err.println(getKey()+"撸啊撸");
	}

	@Override
	void update() {
		System.err.println(getKey()+"看到老师来了，藏起了工具！");
	}

}
